﻿#ifndef CVideoWidgetA_H
#define CVideoWidgetA_H
/********************************************************************************
** @ Date:2024/04/08
** @ Author: HanJiaXin
** @ Description:场景界面视屏监控类
** @ Version:1.0.0
** @ ClassName:CVideoWidgetA
** @ Fun:
********************************************************************************/
#include <QWidget>
#include "ui_CVideoWidgetA.h"
#include "CDevBase.h"

class CVideoWidgetA : public QWidget
{
	Q_OBJECT

public:
	CVideoWidgetA(QWidget *parent = nullptr);
	~CVideoWidgetA();

	void playVideo();//播放视频
	void stopVideo();//停止播放视屏

public slots:
	void slotPushButtonVideoPlayClicked();       //图像开启预览和停止预览
	void slotPushButtonInfraredPlayClicked();    //红外开启预览和停止预览
	void slotPushButtonInfraredEnlargeClicked();    //放大视屏
	void slotPushButtonInVideoEnlargeClicked();    //放大视屏

public:
	CDevBase* m_pDev;//设备操作对象
	QString m_sGuid;//场景Guid
	Ui::CVideoWidgetAClass ui;
	bool m_bTxStart;//图像相机是否在播放
	bool m_bHwStart;//红外相机是否在播放
};
#endif // !CVideoWidgetA_H

